package org.ricks.item;

import java.util.function.Supplier;

public class ItemRegistration {
    private final int typeId;
    private final Supplier<ItemBehavior> behaviorSupplier;
    private final ItemMeta meta;

    public ItemRegistration(int typeId, Supplier<ItemBehavior> behaviorSupplier, ItemMeta meta) {
        this.typeId = typeId;
        this.behaviorSupplier = behaviorSupplier;
        this.meta = meta;
    }

    public int getTypeId() {
        return typeId;
    }

    public Supplier<ItemBehavior> getBehaviorSupplier() {
        return behaviorSupplier;
    }

    public ItemMeta getMeta() {
        return meta;
    }
}